package com.pengxun.manager.enums;

/**
 * DepartmentStatusEnum Enum
 *
 * @author Lam Jerry
 * @program kpd-platform
 * @description 部门状态枚举
 * @create 2019-04-04 15:19
 */
public enum DepartmentStatusEnum {
    DELETE(-1,"已删除"),
    USABLE(1,"可用"),
    UNUSABLE(0,"不可用");

    private Integer type;

    private String desc;

    DepartmentStatusEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
